/* 
 * File:   Sin.h
 * Author: Gab'z
 *
 * Created on 4 juin 2012, 09:41
 */

#ifndef SIN_H
#define	SIN_H

#include "AngularUnaryOperator.h"

namespace calculator {

    class Sin : public AngularUnaryOperator {
        friend class CommandMap;

    public:
        virtual ~Sin();
        
        Sin* clone() const;

        const Number* apply(const SimpleNumber* n) const throw (ArithmeticException);

    private:
        Sin(const std::string name);
        Sin(const Sin& orig);
    };
}

#endif	/* SIN_H */

